package com.prog3.calendarutec.conecciones;

import java.util.List;

import com.prog3.calendarutec.beans.Calendario;
import com.prog3.calendarutec.beans.Evento;

public interface Repositorio {
	
	/**
	 * Permitira agregar Calendarios
	 * @return
	 */
	public int addCalendario(Object ser,Object calendario,Object contact);
	
	
	/**
	 * Permitira Eliminar Calendarios
	 * @return
	 */
	public int deleteCalendario(Object ser,Object calendario,Object contact);
	
	/**
	 * 
	 * @param ser
	 * @param calendario
	 * @param evento
	 * @return
	 */
	public List<Calendario> listarCalendar(Object ser,Object obj1);
	
	
	/**
	 * Permitira agregar evento
	 * @return
	 */
	public int addEvento(Object ser,Object calendario,Object evento);
	
	/**
	 * Permitira editar Evento
	 * @return
	 */
	public int editEvento(Object ser,Object calendario,Object evento);
	
	/**
	 * Permitira eliminar un evento
	 * @return
	 */
	public int deleteEvento(Object ser,Object calendario,Object evento,int id);
	
	/**
	 * Permitira crear una lista con eventos
	 * @return
	 */
	public List<Evento> listar(Object ser,Object calendario,Object evento);
	
	/**
	 * 
	 * @return
	 */
	public boolean sincronizar(Object ser,Object calendario,Object evento);
	
}
